using System;

namespace AntEater.ComponentModel
{
    /// <summary>
    /// Event Arguments for the Output Window
    /// </summary>
    public class OutputEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OutputEventArgs"/> class.
        /// </summary>
        /// <param name="line">The line.</param>
        public OutputEventArgs(string line) 
            : base() {
            _line = line;
        }

        private string _line;

        /// <summary>
        /// Gets or sets the line.
        /// </summary>
        /// <value>The line.</value>
        public string Line {
            get { return _line; }
            set { _line = value; }
        }
    }
}
